package com.valuegroup.smarttodo.data.model;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.NotNull;

import java.io.Serializable;
import java.util.Date;

import org.greenrobot.greendao.annotation.Generated;

/**
 * 备注信息
 */
@Entity
public class Remark implements Serializable {
    private static final long serialVersionUID = 6664892026918572367L;

    @Id(autoincrement = true)
    private Long id;
    private Long relateId;
    private Integer relateType;
    private String content;
    @NotNull
    private Date createdDt;
    @NotNull
    private Date updatedDt;
    @NotNull
    private Integer status;
    @Generated(hash = 542982879)
    public Remark(Long id, Long relateId, Integer relateType, String content,
            @NotNull Date createdDt, @NotNull Date updatedDt,
            @NotNull Integer status) {
        this.id = id;
        this.relateId = relateId;
        this.relateType = relateType;
        this.content = content;
        this.createdDt = createdDt;
        this.updatedDt = updatedDt;
        this.status = status;
    }
    @Generated(hash = 1208963644)
    public Remark() {
    }
    public Long getId() {
        return this.id;
    }
    public void setId(Long id) {
        this.id = id;
    }
    public Long getRelateId() {
        return this.relateId;
    }
    public void setRelateId(Long relateId) {
        this.relateId = relateId;
    }
    public Integer getRelateType() {
        return this.relateType;
    }
    public void setRelateType(Integer relateType) {
        this.relateType = relateType;
    }
    public String getContent() {
        return this.content;
    }
    public void setContent(String content) {
        this.content = content;
    }
    public Date getCreatedDt() {
        return this.createdDt;
    }
    public void setCreatedDt(Date createdDt) {
        this.createdDt = createdDt;
    }
    public Date getUpdatedDt() {
        return this.updatedDt;
    }
    public void setUpdatedDt(Date updatedDt) {
        this.updatedDt = updatedDt;
    }
    public Integer getStatus() {
        return this.status;
    }
    public void setStatus(Integer status) {
        this.status = status;
    }

}
